package com.tensquare.friend.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 交友对象 tb_friend
 * 
 * @author hbxfwf
 * @date 2021-08-25
 */
public class Friend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private String userid;

    /** 好友ID */
    private String friendid;

    /** 是否互相喜欢 */
    @Excel(name = "是否互相喜欢")
    private String islike;

    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setFriendid(String friendid) 
    {
        this.friendid = friendid;
    }

    public String getFriendid() 
    {
        return friendid;
    }
    public void setIslike(String islike) 
    {
        this.islike = islike;
    }

    public String getIslike() 
    {
        return islike;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userid", getUserid())
            .append("friendid", getFriendid())
            .append("islike", getIslike())
            .toString();
    }
}
